package com.neusoft.work.service.impl;

import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.neusoft.work.dao.CurrentUserIdDao;
import com.neusoft.work.po.CurrentUserId;
import com.neusoft.work.service.CurrentUserIdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CurrentUserIdImpl implements CurrentUserIdService {
    @Autowired
    private CurrentUserIdDao currentUserIdDao;

    @Override
    public void setCurrentUserId(CurrentUserId currentUserId) {
        currentUserIdDao.updateById(currentUserId);
    }
}
